docs: enum cleanup
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 10:17:16 +0000 (06:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 13:54:01 +0000 (09:54 -0400)
Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.

docs/reference/gtk/gtk3-sections.txt
gtk/gtkenums.h
gtk/gtkmenu.h

index df3c8a830caa60fd4947b990e58a6396a3e9b57c..03c4223fe1230ccbe3d2026237b665f413207292 100644 (file)
@@ -2183,6 +2183,7 @@ gtk_link_button_get_type
 <FILE>gtkmenu</FILE>
 <TITLE>GtkMenu</TITLE>
 GtkMenu
+GtkArrowPlacement
 gtk_menu_new
 gtk_menu_new_from_model
 gtk_menu_set_screen
@@ -6505,7 +6506,6 @@ gtk_binding_set_add_path
 <SECTION>
 <FILE>gtkenums</FILE>
 <TITLE>Standard Enumerations</TITLE>
-GtkArrowPlacement
 GtkArrowType
 GtkAttachOptions
 GtkBaselinePosition
index 48414b82bc522772db8f7fe92b4fb63b60b4a5b2..4a15f230b44edf634acf47bba5f44486a5a4a28d 100644 (file)
@@ -79,22 +79,6 @@ typedef enum
   GTK_ALIGN_BASELINE
 } GtkAlign;
 
-
-/**
- * GtkArrowPlacement:
- * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
- * @GTK_ARROWS_START: Place both arrows at the top of the menu.
- * @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
- *
- * Used to specify the placement of scroll arrows in scrolling menus.
- */
-typedef enum
-{
-  GTK_ARROWS_BOTH,
-  GTK_ARROWS_START,
-  GTK_ARROWS_END
-} GtkArrowPlacement;
-
 /**
  * GtkArrowType:
  * @GTK_ARROW_UP: Represents an upward pointing arrow.
index 25dd8bd0bc73ca38ab54fa9dff7965fc34584a0e..d854ed25ea9d1a2099f4f4d1f1be567f64c35d12 100644 (file)
@@ -48,6 +48,21 @@ typedef struct _GtkMenu        GtkMenu;
 typedef struct _GtkMenuClass   GtkMenuClass;
 typedef struct _GtkMenuPrivate GtkMenuPrivate;
 
+/**
+ * GtkArrowPlacement:
+ * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
+ * @GTK_ARROWS_START: Place both arrows at the top of the menu.
+ * @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
+ *
+ * Used to specify the placement of scroll arrows in scrolling menus.
+ */
+typedef enum
+{
+  GTK_ARROWS_BOTH,
+  GTK_ARROWS_START,
+  GTK_ARROWS_END
+} GtkArrowPlacement;
+
 /**
  * GtkMenuPositionFunc:
  * @menu: a #GtkMenu.